package com.fmdj.bff.driver.feign;

import com.fmdj.bff.driver.controller.form.SearchCustomerInfoInOrderForm;
import com.fmdj.common.util.CommonResult;
import io.swagger.v3.oas.annotations.Operation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import javax.validation.Valid;

@FeignClient(value = "fmdj-cst")
public interface CstServiceApi {
    @PostMapping("/customer/searchCustomerInfoInOrder")
    @Operation(summary = "查询顾客订单信息")
    public CommonResult searchCustomerInfoInOrder(@Valid @RequestBody SearchCustomerInfoInOrderForm form);
}
